FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.7.16  |  FHIR Version n/a  User: [n/a]

Resource PlanDefinition/FHIR Server from package smart.who.int.anc#current (110 ms)

Package smart.who.int.anc
Type PlanDefinition
Id Id
FHIR Version R4
Source http://smart.who.int/anc/https://build.fhir.org/ig/WorldHealthOrganization/smart-anc/PlanDefinition-ANCDT22.html
Url http://smart.who.int/anc/PlanDefinition/ANCDT22
Version 0.3.0
Status active
Date 2025-06-24T13:58:48-06:00
Name ANCDT22
Title ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis
Experimental False
Realm uv
Authority who
Description If the woman tests positive for ASB, provide counselling and treatment as needed.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Id: ANCDT22
Url: ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis
Version: 0.3.0
Official

ANC.DT.22

Title: ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: eca-rule

Date: 2025-06-24 13:58:48-0600
Publisher: World Health Organization (WHO)
Description:

If the woman tests positive for ASB, provide counselling and treatment as needed.

Use Context:
code value
task
Jurisdiction: 001
Libraries:
ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis
Actions:
ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis:
When: Named Event: ANC.B10.4 Diagnosis and treatment
Then:
A woman is considered to have ASB if she has one of the following test results: – Positive culture (> 100,000 bacteria/ml) – Gram-staining positive – Urine dipstick test positive (nitrites or leukocytes) Seven-day antibiotic regimen is recommended for all pregnant women with asymptomatic bacteriuria (ASB) to prevent persistent bacteriuria, preterm birth and low birth weight. "Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy" (2)
If: Applicability: (((((((((("Midstream urine culture (recommended)" = "Positive – any agent") OR ("Midstream urine culture (recommended)" = "Positive – Group B Streptococcus (GBS)")) OR ("Midstream urine Gram-staining" = "Positive")) OR ("Urine dipstick result – nitrites" = "+")) OR ("Urine dipstick result – nitrites" = "++")) OR ("Urine dipstick result – nitrites" = "+++")) OR ("Urine dipstick result – nitrites" = "++++")) OR ("Urine dipstick result – leukocytes" = "+")) OR ("Urine dipstick result – leukocytes" = "++")) OR ("Urine dipstick result – leukocytes" = "+++")) OR ("Urine dipstick result – leukocytes" = "++++") (Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB))
Pregnant women with Group B Streptococcus (GBS) colonization should receive intrapartum antibiotic administration to prevent early neonatal GBS infection. "Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy" (2)
If: Applicability: "Midstream urine culture (recommended)" = "Positive – Group B Streptococcus (GBS)" (Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling)

Source

{
  "resourceType" : "PlanDefinition",
  "id" : "ANCDT22",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n <table class=\"grid dict\">\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">ANCDT22</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-ANCDT22.html\">ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis</a></td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">0.3.0</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\">\n <b>\n \n Official\n \n </b>\n </th>\n <td style=\"padding-left: 4px;\">\n \n <p style=\"margin-bottom: 5px;\">\n <span>ANC.DT.22</span>\n </p>\n \n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis</td>\n </tr>\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.4.0/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>eca-rule</span>\n </p>\n \n \n \n \n \n </td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Date: </b></th>\n <td style=\"padding-left: 4px;\">2025-06-24 13:58:48-0600</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">World Health Organization (WHO)</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>If the woman tests positive for ASB, provide counselling and treatment as needed.</p>\n</div></td>\n </tr>\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Use Context: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>code</b></th>\n <th><b>value</b></th>\n </tr>\n \n <tr>\n <td>task</td>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 4px;\">001</td>\n </tr>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Libraries: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td><a href=\"Library-ANCDT22.html\">ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis</a></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Actions: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td>\n \n <b> ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis:</b> \n \n <br/>\n \n <b>When:</b>\n \n <i>Named Event:</i> ANC.B10.4 Diagnosis and treatment\n <br/>\n \n \n \n \n <b>Then:</b>\n <table class=\"grid-dict\">\n \n <tr>\n <td>\n \n A woman is considered to have ASB if she has one of the following test results:\n– Positive culture (&gt; 100,000 bacteria/ml)\n– Gram-staining positive\n– Urine dipstick test positive (nitrites or leukocytes)\n\nSeven-day antibiotic regimen is recommended for all pregnant women with asymptomatic bacteriuria (ASB) to prevent persistent bacteriuria, preterm birth and low birth weight.\n&quot;Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy&quot; (2)\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n ((((((((((&quot;Midstream urine culture (recommended)&quot; = &quot;Positive – any agent&quot;)\n OR (&quot;Midstream urine culture (recommended)&quot; = &quot;Positive – Group B Streptococcus (GBS)&quot;))\n OR (&quot;Midstream urine Gram-staining&quot; = &quot;Positive&quot;))\n OR (&quot;Urine dipstick result – nitrites&quot; = &quot;+&quot;))\n OR (&quot;Urine dipstick result – nitrites&quot; = &quot;++&quot;))\n OR (&quot;Urine dipstick result – nitrites&quot; = &quot;+++&quot;))\n OR (&quot;Urine dipstick result – nitrites&quot; = &quot;++++&quot;))\n OR (&quot;Urine dipstick result – leukocytes&quot; = &quot;+&quot;))\n OR (&quot;Urine dipstick result – leukocytes&quot; = &quot;++&quot;))\n OR (&quot;Urine dipstick result – leukocytes&quot; = &quot;+++&quot;))\n OR (&quot;Urine dipstick result – leukocytes&quot; = &quot;++++&quot;)\n \n <i>(Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB))</i>\n <br/>\n \n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n \n Pregnant women with Group B Streptococcus (GBS) colonization should receive intrapartum antibiotic administration to prevent early neonatal GBS infection.\n&quot;Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy&quot; (2)\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n &quot;Midstream urine culture (recommended)&quot; = &quot;Positive – Group B Streptococcus (GBS)&quot;\n \n <i>(Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling)</i>\n <br/>\n \n \n \n \n \n </td>\n </tr>\n \n </table>\n \n </td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n </table>\n</div>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "http://smart.who.int/anc/Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Library ContactData",
          "resource" : "http://smart.who.int/anc/Library/ANCContactDataElements"
        },
        {
          "type" : "depends-on",
          "display" : "Library WC",
          "resource" : "http://smart.who.int/anc/Library/WHOCommon"
        },
        {
          "type" : "depends-on",
          "display" : "Library Cx",
          "resource" : "http://smart.who.int/anc/Library/ANCConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Midstream urine culture (recommended)",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de124"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Midstream urine culture (recommended) - Positive - Any agent Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de126"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Midstream urine culture (recommended) - Positive - Group B Strep (GBS) Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de127"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Midstream urine Gram-staining",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de129"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Midstream urine Gram-staining - Positive Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de130"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Urine dipstick result - nitrites",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de132"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Urine dipstick result - nitrites Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de134"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Urine dipstick result - leukocytes",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de138"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Urine dipstick result - leukocytes Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de140"
        }
      ],
      "parameter" : [
        {
          "name" : "encounter",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "string"
        },
        {
          "name" : "Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        },
        {
          "name" : "Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b9-de124"
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b9-de129"
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b9-de132"
            }
          ]
        },
        {
          "type" : "Observation",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Observation"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b9-de138"
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Midstream urine culture (recommended)"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n @dataElement: ANC.B9.DE124 Midstream urine culture (recommended)\n @activity: ANC.B9 Lab tests & imaging\n @description: Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy\n*/\ndefine \"Midstream urine culture (recommended)\":\n WC.Only(\n [Observation: Cx.\"Midstream urine culture (recommended)\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.CodeableConcept"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 0
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Midstream urine Gram-staining"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n @dataElement: ANC.B9.DE129 Midstream urine Gram-staining\n @activity: ANC.B9 Lab tests & imaging\n @description: On-site midstream urine Gram-staining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy if midstream culture is not possible\n*/\ndefine \"Midstream urine Gram-staining\":\n WC.Only(\n [Observation: Cx.\"Midstream urine Gram-staining\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.CodeableConcept"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 1
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Urine dipstick result - nitrites"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n @dataElement: ANC.B9.DE132 Urine dipstick result - nitrites\n @activity: ANC.B9 Lab tests & imaging\n @description: Dipstick test results – nitrites\n*/\ndefine \"Urine dipstick result - nitrites\":\n WC.Only(\n [Observation: Cx.\"Urine dipstick result - nitrites\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.CodeableConcept"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 2
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Urine dipstick result - leukocytes"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n @dataElement: ANC.B9.DE138 Urine dipstick result - leukocytes\n @activity: ANC.B9 Lab tests & imaging\n @description: Dipstick test results – leukocytes\n*/\ndefine \"Urine dipstick result - leukocytes\":\n WC.Only(\n [Observation: Cx.\"Urine dipstick result - leukocytes\"] O\n where O.status in { 'final', 'amended', 'corrected' }\n and Coalesce(WC.ModifierExtension(O, 'who-notDone').value, false) is false\n and Last(Split(O.encounter.reference, '/')) = Last(Split(encounter, '/'))\n ).value as FHIR.CodeableConcept"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 3
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCDT22"
        },
        {
          "url" : "name",
          "valueString" : "Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n((((((((((\"Midstream urine culture (recommended)\" = \"Positive – any agent\")\n OR (\"Midstream urine culture (recommended)\" = \"Positive – Group B Streptococcus (GBS)\"))\n OR (\"Midstream urine Gram-staining\" = \"Positive\"))\n OR (\"Urine dipstick result – nitrites\" = \"+\"))\n OR (\"Urine dipstick result – nitrites\" = \"++\"))\n OR (\"Urine dipstick result – nitrites\" = \"+++\"))\n OR (\"Urine dipstick result – nitrites\" = \"++++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"+\"))\n OR (\"Urine dipstick result – leukocytes\" = \"++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"+++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"++++\")\n*/\ndefine \"Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)\":\n ContactData.\"Midstream urine culture (recommended)\" in Cx.\"Midstream urine culture (recommended) - Positive - Any agent Choices\"\n or ContactData.\"Midstream urine culture (recommended)\" in Cx.\"Midstream urine culture (recommended) - Positive - Group B Strep (GBS) Choices\"\n or ContactData.\"Midstream urine Gram-staining\" in Cx.\"Midstream urine Gram-staining - Positive Choices\"\n or ContactData.\"Urine dipstick result - nitrites\" in Cx.\"Urine dipstick result - nitrites Choices\"\n or ContactData.\"Urine dipstick result - leukocytes\" in Cx.\"Urine dipstick result - leukocytes Choices\""
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 4
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCDT22"
        },
        {
          "url" : "name",
          "valueString" : "Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n\"Midstream urine culture (recommended)\" = \"Positive – Group B Streptococcus (GBS)\"\n*/\ndefine \"Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling\":\n ContactData.\"Midstream urine culture (recommended)\" in Cx.\"Midstream urine culture (recommended) - Positive - Group B Strep (GBS) Choices\""
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 5
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToConcept"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 6
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToCode"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 7
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "Only"
        },
        {
          "url" : "statement",
          "valueString" : "define function Only(observations List<Observation>):\n singleton from observations"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 8
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value ObservationStatus): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 9
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToBoolean"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToBoolean(value boolean): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 10
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "ModifierExtension"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n@description: Returns the single WHO core modifier extension (if present) on the given resource with the specified id.\n@comment: This function uses singleton from to ensure that a run-time exception is thrown if there\nis more than one extension on the given resource with the specified url.\n*/\ndefine function ModifierExtension(domainResource DomainResource, id String):\n singleton from ModifierExtensions(domainResource, id)"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 11
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "WHOCommon"
        },
        {
          "url" : "name",
          "valueString" : "ModifierExtensions"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n@description: Returns any WHO core modifier extensions defined on the given resource with the specified id.\n@comment: NOTE: Extensions are not the preferred approach, but are used as a way to access\ncontent that is defined by extensions but not yet surfaced in the\nCQL model info.\n*/\ndefine function ModifierExtensions(domainResource DomainResource, id String):\n domainResource.modifierExtension E\n\t where E.url = ('http://fhir.org/guides/who/core/StructureDefinition/' + id)\n\t\treturn E"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 12
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value uri): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 13
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value string): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 14
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical" : "#effective-data-requirements"
    },
    {
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference" : {
        "reference" : "Device/cqf-tooling"
      }
    }
  ],
  "url" : "http://smart.who.int/anc/PlanDefinition/ANCDT22",
  "identifier" : [
    {
      "use" : "official",
      "value" : "ANC.DT.22"
    }
  ],
  "version" : "0.3.0",
  "name" : "ANCDT22",
  "title" : "ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis",
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code" : "eca-rule"
      }
    ]
  },
  "status" : "active",
  "experimental" : false,
  "date" : "2025-06-24T13:58:48-06:00",
  "publisher" : "World Health Organization (WHO)",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.who.int"
        }
      ]
    }
  ],
  "description" : "If the woman tests positive for ASB, provide counselling and treatment as needed.",
  "useContext" : [
    {
      "code" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task",
        "display" : "Workflow Task"
      },
      "valueCodeableConcept" : {
        "coding" : [
          {
            "system" : "http://smart.who.int/anc/CodeSystem/activity-codes",
            "code" : "ANC.B10.4",
            "display" : "Diagnosis and treatment"
          }
        ]
      }
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "library" : [
    "http://smart.who.int/anc/Library/ANCDT22"
  ],
  "action" : [
    {
      "title" : "ANC.DT.22 Asymptomatic bacteriuria (ASB) diagnosis",
      "trigger" : [
        {
          "type" : "named-event",
          "name" : "ANC.B10.4 Diagnosis and treatment"
        }
      ],
      "action" : [
        {
          "id" : "1",
          "title" : "Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)",
          "description" : "Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)",
          "textEquivalent" : "A woman is considered to have ASB if she has one of the following test results:\n– Positive culture (> 100,000 bacteria/ml)\n– Gram-staining positive\n– Urine dipstick test positive (nitrites or leukocytes)\n\nSeven-day antibiotic regimen is recommended for all pregnant women with asymptomatic bacteriuria (ASB) to prevent persistent bacteriuria, preterm birth and low birth weight.\n\"Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy\" (2)",
          "documentation" : [
            {
              "type" : "citation",
              "label" : "WHO ANC recommendations (2016): B.1.2. Asymptomatic bacteriuria (ASB) (3)"
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "description" : "((((((((((\"Midstream urine culture (recommended)\" = \"Positive – any agent\")\n OR (\"Midstream urine culture (recommended)\" = \"Positive – Group B Streptococcus (GBS)\"))\n OR (\"Midstream urine Gram-staining\" = \"Positive\"))\n OR (\"Urine dipstick result – nitrites\" = \"+\"))\n OR (\"Urine dipstick result – nitrites\" = \"++\"))\n OR (\"Urine dipstick result – nitrites\" = \"+++\"))\n OR (\"Urine dipstick result – nitrites\" = \"++++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"+\"))\n OR (\"Urine dipstick result – leukocytes\" = \"++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"+++\"))\n OR (\"Urine dipstick result – leukocytes\" = \"++++\")",
                "language" : "text/cql-identifier",
                "expression" : "Should Provide 7-day antibiotic regimen for asymptomatic bacteriuria (ASB)"
              }
            }
          ]
        },
        {
          "id" : "2",
          "title" : "Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling",
          "description" : "Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling",
          "textEquivalent" : "Pregnant women with Group B Streptococcus (GBS) colonization should receive intrapartum antibiotic administration to prevent early neonatal GBS infection.\n\"Midstream urine culture is the recommended method for diagnosing asymptomatic bacteriuria (ASB) in pregnancy. In settings where urine culture is not available, on-site midstream urine Gramstaining is recommended over the use of dipstick tests as the method for diagnosing ASB in pregnancy\" (2)",
          "documentation" : [
            {
              "type" : "citation",
              "label" : "WHO ANC recommendations (2016): B.1.2. Asymptomatic bacteriuria (ASB) (3)"
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "description" : "\"Midstream urine culture (recommended)\" = \"Positive – Group B Streptococcus (GBS)\"",
                "language" : "text/cql-identifier",
                "expression" : "Should Provide intrapartum antibiotic to prevent early neonatal Group B Streptococcus (GBS) infection counselling"
              }
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.